<?php
class TextsController extends AppController{

	var $name = 'Texts';

	var $scaffold;

	function get($id = null){

		if($id !== null){
			$sFilter = "id = $id";
			$this->set('aData', $this->Text->findAll($sFilter));
		}
	}

}
?>
